package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.BankerSite;
import com.ytjj.qmyx.mall.model.response.BankerSiteInfoResponse;
import com.ytjj.qmyx.mall.model.response.BrandListResponse;
import com.ytjj.qmyx.mall.model.response.EvaluationProductResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BankerSiteDao {

    BankerSiteInfoResponse queryBankerSiteOne(Integer bankerId);

    List<BankerSiteInfoResponse> queryBankerSite();

    List<BankerSiteInfoResponse> findBankerSiteBySpecidlId(Integer specialId);


    List<EvaluationProductResponse> findEvaluationListByBanker();

    List<BankerSiteInfoResponse> findBankerSiteBySpecidlIdV2(Integer specialId);

    BankerSite queryBankerSiteByBankerId(Integer bankerId);

    List<BrandListResponse> findBrandListResponse(@Param("specialId") Integer specialId, @Param("selected") Integer selected);

    BrandListResponse findBrandResponse(Integer id);
}
